<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns = "http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:a4j="http://richfaces.org/a4j">
    <h:head>
        <title>Acervo Digital</title>
    </h:head>
    <h:body>
        <h:outputStylesheet library="css" name="style.css" />
        <div id="header">
            <h:form style ="float:left;">
                <h:link value="Acervos" outcome="listaAcervos" />
                &nbsp;
                <h:link value="Campos" outcome="listaCampos" />
                <!--                <h:link value="Registros" outcome="listaRegistros" />-->
                <rich:autocomplete autocompleteMethod="#{buscaBean.autocomplete}" minChars="1" var="acervo" fetchValue="#{acervo.descricao}" >
                    <h:link value="#{acervo.descricao}" outcome="mostraAcervo" >
                        <f:param name="chave" value="#{acervo.chaveAcervo}" />
                    </h:link>
                </rich:autocomplete> 
            </h:form>
            <div style="clear:both"></div>
        </div>
        <div id="conteudo">
            <ui:insert name="conteudo"> Espaço para o conteúdo da tela </ui:insert>
        </div>
        <div id="footer" style="text-align: center">
            <hr />
            Acervo Digital
        </div>
    </h:body>
</html>

